package com.jk.controller;

import com.jk.pojo.DoctorteamEntirty;
import com.jk.service.DoctorteamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @ClassName DoctorteamController
 * @Descripttion TODO
 * @Author DELL
 * @Date 2022/10/16 20:24
 * @Version 0.001
 */
@RestController
@RequestMapping("doctorteam")
public class DoctorteamController {
    @Autowired
    private DoctorteamService doctorteamService;

    /**
    * @Author: binzi
    * @Description:团队
    * @Date: 2022/10/16 20:27
    * @Return: java.util.List<com.jk.pojo.DoctorteamEntirty>
    **/
    @RequestMapping("findDoctorteam")
    public List<DoctorteamEntirty>  findDoctorteam(){
        return doctorteamService.findDoctorteam();
    }

}
